package com.wty.design.structural.bridge;


/**
 * @Author wangtengyu
 * @Create 2018-09-19-16:47
 */
public class ABCBank extends Bank {
    public ABCBank(Account account) {
        super(account);
    }

    @Override
    Account openAccount() {
        System.out.println("工行开户开始");
        account.openAccount();
        System.out.println("工行开户结束");
        return account;
    }
}
